fixed file permissions