remove unnecessary fieldset and legend