wsgi server plugins and some bug fixed