added missing trackIdList.clear()