fix the bug of storage