fixing title output in index page