selectedLecture bug fixed