fix for sympy callback in numeric