Fix mistyped hook call