fix error missing template