Fixed issue of v8string2charp function