fixing caching task.