minor permissions improvements