fixed generated html layout