fixed issues with rendering footer