fix multiple sms major bugs