more stable redirect