synchronization for segment