make it work with py26 as well