Getting accessed none error in widget ref

I am following the multiplayer shootout example for the multiplayer part, mainly the enumerator used to handle widgets, but I’m getting an “accessed none” error in the “remove from parent” function used to remove previous widgets from the screen.