fixes #4
enums considered as strings, the enum values are set as allowable values