bAlreadyHooked should be local not global