remove error caused by tree info right click functionality