convert unnamed enum into enum class TabVal