Fixed flow error