Don't let the wstring go out of scope