Fix support python2.6