Fixed an issue with StringFormat.