found and fixed the blocksize=0 bug