shouldn't this happen only for the current page?