remove deprecation warning during heroku deploy