Fix the damage that removing all dots on the xml did