fix some bug about sms fragment