fixed Hooker class