commented out some lines
search is now working again