save last sent id for validation later