Fixed an insidious but with vit and added some simple checking to the new plugins