Dev Fixed some issue with new permission system