Fixing a problem with string formatting.