fix 'enum class'