Fix cache from localStorage