Bug fix on NumDimViewer

Bug fix on NumDimViewer