bug fix for `validate` property