fixed sample text segmentation