fix file permission issue