fix resend,call offline message hooks method