add changes for iViewer TF 4.0.246