fixed missing enum keyword