fix new bug of get next pages