repair some defects, add some css for the buttons in the index page