manipulation: fixed setting `parent` reference in `append`

fixes #7