fix bug in daughter assignment
fix bug in daughter assignment