corrected typo and changed permissions