Fix for writting null child configuration