fixed indexing error that prevented lessons to start on first week