fixed some silly wording and an erroneous fileperm check