fix bug caused by name repeatition of pagination