small pagination fix