fixed bug pagination show with only 1 page