invalidateAll for store and metaStore
Minor code cleanup