fixed quality errors