new version with celery 2.8+