Fix error in stepdef slider