fix broken gunicorn startup for production
Merge remote-tracking branch 'upstream/master'