remove redundancy of slider values