fixed search on heroku