Fixed bug in ENUM