fixed typo and file permissions