cleaning, max segment is now slider