fix template name to search