Hi Joanna,
Without a module to check it's impossible to see what you have done exactly that causes this behaviour, so please see if you can add one here.
That said, have you checked whether the values are really missing, like outputing them in a Table Records on the screen? Because the debugger is known to sometimes not show values if they're optimized away, i.e. when they are not used anywhere in the app.