change logic in quality reports