making EnumConverter faster