Try to get correct segment ids