event pagination fix