Fix tree table template duplicate name issue