make sure string will evaluate enum