fixed a bug in the createNetworkflow-script.