fix errors in block transfers