fix xmlsimple call