fixed some encoding issues introduced with new uniques