fix ChoiceEnum attr access