Fixed resetting the storage