Fixing the issue with not displaying footer