Fix quality flow