fix invalid syntax in printhooks
Merge pull request #100 from sanga/syntax_fix

fix invalid syntax in printhooks