[modules] fix malformed xml files