changed validation plugin