Py2.4 fix