clean up last line