permissions bulk fix