Fix quality errors