Fixing heroku errors.