optimized LComponent.as
fix bug of LTree.as