fixed memory resident tree issues when not writing output
fixed conflict