fix another rsync related bug