Fixed no segment errors