made some permission changes