Removing the XML location inconsistency