made new child creation more robust