fixed typo with DEFAULT_PERMISSIONS, #234