fixed simplexmlelement errors