fixed the bug with children declaration