fix an issue with commands as unicode string