removed some lines causing unicodeencodeerrors