support python2.6