removed warnings
fixed display in tree mode