Fixing a bug where reply was not correclty generating flow-id