Fix hooks project

Not a complex request but just a couple of warning-fixes.