allow py2.6 to work too