fix the nav and footer