fix the bug in #29 in ElementInter setAttribute()