cleaning up the index page