fixing no template error