Fix the XML results issue