hook failure prevention