fixed minor syntax error in Child.cpp