Fixed a bug in multiflow printing