fixed file's permissions