fix saveReturnUrl bug