Removing extra newline character