fix parenting