Fixed a minor issue with a non-unicode string