verify child argument is valid else error