fix blobcopy minor bugs