remove side effect in Util.format to fix bug `some function will modify passed arguments`.