support for python2.6