Fixed alter enums bug