hook - small fix
Merge pull request #13 from Antek88/master

hook - small fix