why is error msg added with '+' when converting to sformat?