correcting template url