list-flows bug fixes