Fix Error in quality reduce