fixed a bug about scp