dealt with UTF-8 bytes error caused by the placement of fonts folder