make it work under python 2.7