switched parent_id for parent

fixes #3333