corrects ProbModelXMLWriter class