insert lesson bugg fix