small fix for Enum type