support for index page and bug fixes