fixed bug in getDataQualities