fixed typo in the addParent transformation