fix append by suggestion from suhaliv

remove line root=tag[-len(root):]
Merge pull request #81 from yodalee/issue70

fixed #70 .append unexpected output