fix python 2.7 unicode