Fix enums (from dec to hex)