fix py2.6 choking