fix lecture bug