only show legend in fieldset if param set