Remove invalid usage of wstring