fix admin course error