fixed for saving vm for #n neuronss