revert changes on links