fix a couple of regressions
add uwsgi support