fix lectures saving