Fixed some permission issue