HookController bug fixed