undoing redirect