fixed child dependency during query build