handle no template found