fix sync issue