Fixed celery initialization