correcting template