adjust threads, fix django-installer.