segments fix