fixed transformation of enumerations