corrected index page problem