Remove empty line at the end.