fixed unflushed error message in console, from Diff-tree command