fixes to search.  works now
PEP8 fix