refactor footer