correcting path to templte