Fixed an error with non-standard characters in names