modify the layout of index & title