remove weird type annotation to an enum, s/Enum/enum/