fix newline problem