fix bug pagination loading