replaced validation plugin