Fix bug when a flow is 0, and print flow in labels