changed validation type