More permission fixing