Bug, if value is null, no validation