Fixed the fragile output element problem.
Fixed the element conflict problem.