radio buttons are checked properly on render