fix dispaly index page and delete def show