Fixed bug in StorageStub