handle model not found for lessons table