fix error when choice parent is not populated