fix py2.6