Fixed some permission things