form validation bug fix for radio buttons