added selective cache clear