displaying correct values for enumeration fields