Fix celery app issue on aws.