Refactor footer