fix for https://github.com/kevinb7/stepper/issues/15