Fixed newline ignore bug