fixes syntax error in hook help implementation