Fix error and added celery task