changing to right template