fix bugs in lecture during lecture