remove new line when live output