fix wrong usage of String.format