revert the path