fixed unicode error in python 2.7