fixing header templates