some desperate code changes to try fix heroku