undo changes to path