problems with glyphs, moving dist back into main