Remove ref attributes in choices