Fixes a string formatting error