modified some bugs in libstore and storageserver