bgmtree fix2