fix course extraction