restore_last_offset