work around for bug in xmlpullparser