Fixing xml_url bug