fixing uninstallation permissions