fix double print + static iterations

Signed-off-by: o.pitton <olivier.pitton@gmail.com>