remove unnecessary blank lines