Fixes bug on stepper