minor bugs fixed at index.html