fix rsync errors