corrected problems with index page