'on user input' action not using updated field value

'on user input' action not using updated field value

I have a form action which update three fields A, B and C; when C is updated it triggers its 'on user input' action and calculates a number based on A and B values, but C is actually using A and B old values, not the updated values.

Need help!!