change left tree generate way on index view