simplexml correction