fixes path problem for glyphs