remove typo and unnecessary hook