fixed a bunch of unicode issues