Remove unnecessary permission.