fixed heroku errors (search now working, hopefully)