Minor fix

sliders array must be created if length > 1, otherwise is not neccesary