refix string format for python2.6