Fix localStorage