removing double newlines