fixed write uwsgi with empty content