ensure new line ending