fix for failing diff_quality tests