additional fix for the terminating line - treeview