fixed error in radio button data extraction