reverts redirect changes