support for python2.5