Removing extraneous newline character