refine teachin detail view