fix syntax on index page and change lay out on css