fix hook typo