some bugs on index.html solved