seek last line when eof