update the initialization of show_on_index --KevinXu