Fixed bug of list_remove_next