correct some file permissions