bugfix in string format for backward compatibility