fix getSubNodesForParentRef call