Admin course view and fixed error.