fixed formatting issues on index page as well as neatened up