Removing unnecessary permission