Attempt to fix heroku errors