prevent assertion when switching between CHM tabs