Fix warnings in demo_flowdemo