fixed class labels for xml input