change-segment message working