remove last blank line