fix bug about deliver_sm_resp status=0 and message_id=NULL