fix for heroku deployment according to http://stackoverflow.com/questions/8172369/heroku-sinatra-h10-app-crashed
fix startup bug on heroku