removed the permissions that were not necessary