fixed syntax error in lessons helper