add index in route for test on heroku