add flow-name validation