correct pagination when just 1 page