Fixed bugs at index.html