Fix quality flows