revert realpath