fix the rsync config bugs