working on uwsgi mode