fix segment bug