fix control enumeration