removed unnecessary permissions.