fixed validation errors and checkbox to radio buttons