Fix the variable name retrieved from the params class