correct bug with 1 child