Fix for uWSGI