fix vtk output for particles