another python2.7 fix