get segment bug fix