fix broken cache after switching to hash from mashes