Removed path history revert code