fix debug typo in segment
fix debug typo in segment