bugs in data validator, typo