fixed a bug in index.html