fix the footer bug