Course selecting bug fix