Fixed an issue where error is  thrown because of missing children attribute.