Removes unneeded new line in printRow.