fix validation

trial and error till fixed