normalizaing header & footer