fixed sync error.