fix uwsgi bug