Fix localStorage issue when uuid is not object