FIXED:invalid tab switch historyId issue