check if randomChild is null