Fixed the search template