fix coloring on python2.6