change option isErrorOnParent to parent
correct a typo