deal with encoding issues later