fix radio button value assignment