fix in generate index.html