fixed nested params, add parenting