Fix repeated ads when change pages.