Fixed the enumerated type