Fix NPE on hook page
Merge pull request #67 from praseodym/fix-hook-npe

Fix NPE on hook page