fix synchronize problem