Fixed a bug in QualityIndicator