workflowRegistrator bug fixed where the model was not passed on correctly