support common header and footer