fixed a bug that occurs when a job is queued, but then the cache is updated