fix index.html; add dict; add fitseg init