add filter function to qualityInfo