#24 fixed bug with params for formulas