fixing static pages & redefining header