fixed bug with uninstalling