bug fix mod-flows

Change-Id: I557082c574df82812ce065d30fd5b9df003b0bef