fix xml parsing error issue #17