correctly convert types of data qualities