Didn't init localstorage prpoerly