fix enum class minification