put header and footer to common