rewrite simple header & footer