Fix to hook