Fixed child code.