Remove the last empty line