deal with lack of last_message_index properly