modify header and footer for the template
modify the error:both modified