Fixed all newlines that are directed to the console