fix quality errors.