fix bugs in scp