fixed index page issues