fix synchronization problem during safe dist.