I'm really new to OS development, I started to modify the meaty skeleton example from the bare bone tutorials and so far it is going really good

I managed to implement scrolling and cursor positioning on the terminal window and I even managed to get the multiboot pointer as an input for the kernel_main and read the multiboot structure that GRUB sets up...
Anyway I still can't figure out how to get rid off the weird boxed "o" character from the end of the console line when I use a \n
Here is a screencap from the virtualbox machine:

the "printf test01" is just a printf without \n and the printf test is a printf with a \n at the end.
Can someone please help me with this?