Fix next url issue.