Correcting a bug in the index page