delete trailing blank lines