i found ~Segment() is not used, so i remove it.