heroku compatibility fix