fix a case for enums