Fixed bug within index.html