another pagination fix