Fix problem with newline character