fix nested input checkbox and radiobuttons