fixed lesson slide creation bug