fix py2.6 for realz