fixed sync issue