handle case where status history is undefined