cleaned segment utils partially