fix stepper bug