removes header from unneeded row and puts main content into a row