Another fix to try to support wsgi