restore wsgi and cleaning