fix rsync move code