fixed element traversal bug
v0.3.0