fixed searching template