assure slider values are numbers