fix deprecation warning on heroku push