fixed index.html bugs