fix cachedInfo
fix cachedInfo behavior (with test)