uses wchar_t in the core structures an functions
fixed unnecessary adding in the index