fix tab and layout on history.xml