fix tempalte search, now search for all templates in theme