removing excess newlines.