fixed bug in menu hook parameters
Merge pull request #17 from cristiroma/master

fixed bug in menu hook parameters