Fixed bug in uninstall