do not read the xml two times