Fix some place that will not work if dst == src or dst == scatch