fixes in segment selector