Small bugfix. HAFlow.Main updated