fix generation of celery config