fix formula terms
constants are actually params which also can be strings