Fixed bug with accaunting wide char strings