Quality correction