fixed the timout problem on heroku