#12 correct creating id->parent_id relation