fix rsync problems.