removing import from segments