Fix for gunicorn