fixing the uninstall routine