fix bug in VTK save