fixed desugaring of enums