rewrite footer