fix settings import from celery worker