add a variable to enable/disable enum lookup, because ... honestly it can be a bit flakey