make wsgi handler prettier