accessing global in data flow even save main session is set to true

I got an error regarding access of the global variable “regr” in my project. the previously same program was executed successfully but now it shows an error that I have attached herewith.

Even though “save main session is set to true”, I am not able to access regr (Global one)

Go to Source
Author: Nirav Bhatt