fixed bug in edit lesson