fixed issue in GUI mode that output path is used again for the second run