fixes issue https://github.com/kevinb7/stepper/issues/6