fix cache age bug