another fix for the flask-heroku