fixed validation
fixed error