fix for search templates