refine course view