only sympify input to factor