fix "next" links