Fixing sympy variables.