fix type in xml