fix gunicorn bug