correct erreur when read the xml