fix page/num error