remove permissionsmanager