removing middle blank lines