fixed for python2.4 compilation