This is the right way to fix this issue. But in my case I also had to click revert button near the variables that lost data from parent
This is the right way to fix this issue. But in my case I also had to click revert button near the variables that lost data from parent