fix footer tamplate