fix lessons model again