fix for RadioButton bug