- fix #190 for py2.4
- other 2.4 ism