block size bug fixed