fix lessons tab from stats page