Fixed DEFINE-HOOK