fix some bugs of jump step and change machine