footer-logic-improvement