fixed a few block storage bugs in class