bugfix output splitting