Fix newline behaviour.