Accesed None "Main Widget" from node ReturnNode in "OtherWidget"

I have problem with casting widget to other widget. After casting i adding second widget into first. AccessedNone appears when i clicking buttons. Im using functions and variables in second widget into first. When i delete all node from main widget i havent problems.

Thanks. cheers.