fixed #323 - add child to model