fix title display bug on index page