remove comma at end of enum