fix course loader bug