lesson creation bug corrected