maybe picked up the error that causes the index range in history