turn unnamed enum into enum class MagIdx