Fixed a small error with syncing.