fixed InvalidateCache()