ensure_dates needed to be a task