Fixed compile and parenting