undo last change
adjusts output path
fixes path