fix top segment