uwsgi fixes