fix bug when running with eventlet