repaired redirect