fix search.py