Endpoint Manager Upgrade Troubles

I recently tried to upgrade Endpoint manager to and when I did there was a problem with the code and it was giving an error and would not install and disabled the module. That version was bumped and the new version is now available. The problem I have been having is, at first when .6 was available the only option I had in the module admin was to install and enable .5 which still gave the error. I then tried to uninstall .5 but when I go to the module admin, it still shows that endpoint manager is locally available and is still trying to install .5 which is still giving the error. How do I get rid of .5 so I am able to install .6?