fix course register