fix bug: add ${} to forumla