fixed using non-static method in a static way
Merge branch 'hook-feature' of git://github.com/anahitasocial/anahita into hook-feature