BUG: fix compatibility with VTK6