use .format and fix a bug
1 file changed