fix header and footer
change position of files