Replaced children{} by children[0] = 0 to be compatible with VS2012