fix admin course view