fixed some bugs in BlockingStore