Some corrections to run on heroku.