fixed some problems with index.html