Fix error on admin courses show page