fix error with non-latin ids