py2.6 fix