bug fix for vtk6