fixing enums