solved tree order issue