trying to resolve some encoding issues