xenum composer
improve compatibility between Xenum and enum