fix step bug
Merge pull request #81 from spyl94/fix-steps-bugs

fix step bug