changes for Links, but it's buggy, TODO: watch the history paginator