fixing a defect where linking to session id instead of course id