fix enum codec bug, add enum value as enum_item support