fix some transfer errors