fix broken pagination on page2