fixed bug of storage