fixed formating for mainmatter