remove a double entrance of str_fmt