remove unused templates and fix footer