fix current lesson for edit and create course