fix qualification of enums (in general not allowed)