add support for 2.6 python