Fix missing risky mark on hook variable