added multipe blegs in cflow. Thanks pablo.ruiz for the patch.