fix redirect confirmation