fix removing an item from localStorage when key is a number