fixing children in models