fixed bug where unicode characters would not parse