get parent_id, search in dict another way