fixed error with time on cache.