fix bluescreen appearing when ChoiceBox is empty