fix #2907: opening TB from cache inventory broken