fix format string for python2.6