refactor old utils and footer