Fix returnUrl bug.