fix index.html two button bugs.