delete last empty line