modify page num and href