clean up permissions/features