hack to run with gunicorn