Performance fix for permissions