fix detection of segmented annotation