Python2.6 fix