fixed bug in order-segments
1.0.1