fixed bug in the way new children are 'hashed'