changed validation for name