FIX: handling `if (extra.parent)` when parent == 0