wsgi handler fix