[bugfix] print should print a newline to given port
[bugfix] interleave newline