fixes on course lessons and stats page