enum field type improvment