Fixed bug where localstorage flipped out and didn't want to play nice