error in slider