fixes wrong newlines