fix: replace annoying newlinechar with endlinechar