fix next/prev url issue