fixing the generation of lesson names