fix same bug in move_previous