take out last line