repair the footer